package org.tempuri;

public class IServiceAtencionAlertasProxy implements org.tempuri.IServiceAtencionAlertas {
  private String _endpoint = null;
  private org.tempuri.IServiceAtencionAlertas iServiceAtencionAlertas = null;
  
  public IServiceAtencionAlertasProxy() {
    _initIServiceAtencionAlertasProxy();
  }
  
  public IServiceAtencionAlertasProxy(String endpoint) {
    _endpoint = endpoint;
    _initIServiceAtencionAlertasProxy();
  }
  
  private void _initIServiceAtencionAlertasProxy() {
    try {
      iServiceAtencionAlertas = (new org.tempuri.ServiceAtencionAlertasLocator()).getBasicHttpBinding_IServiceAtencionAlertas();
      if (iServiceAtencionAlertas != null) {
        if (_endpoint != null)
          ((javax.xml.rpc.Stub)iServiceAtencionAlertas)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint);
        else
          _endpoint = (String)((javax.xml.rpc.Stub)iServiceAtencionAlertas)._getProperty("javax.xml.rpc.service.endpoint.address");
      }
      
    }
    catch (javax.xml.rpc.ServiceException serviceException) {}
  }
  
  public String getEndpoint() {
    return _endpoint;
  }
  
  public void setEndpoint(String endpoint) {
    _endpoint = endpoint;
    if (iServiceAtencionAlertas != null)
      ((javax.xml.rpc.Stub)iServiceAtencionAlertas)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint);
    
  }
  
  public org.tempuri.IServiceAtencionAlertas getIServiceAtencionAlertas() {
    if (iServiceAtencionAlertas == null)
      _initIServiceAtencionAlertasProxy();
    return iServiceAtencionAlertas;
  }
  
  public java.lang.String getData(java.lang.Integer value) throws java.rmi.RemoteException{
    if (iServiceAtencionAlertas == null)
      _initIServiceAtencionAlertasProxy();
    return iServiceAtencionAlertas.getData(value);
  }
  
  public org.datacontract.schemas._2004._07.WcfServicePolice.RespuestaAlerta getAlertaUsingDataContract(org.datacontract.schemas._2004._07.WcfServicePolice.Alerta composite) throws java.rmi.RemoteException{
    if (iServiceAtencionAlertas == null)
      _initIServiceAtencionAlertasProxy();
    return iServiceAtencionAlertas.getAlertaUsingDataContract(composite);
  }
  
  
}